<?php

/*
Delete Pages (admin_delete_pages.php)
*/

$page_title = "Delete Pages";
$rank_check = 7;
include "../header.inc.php";

print "$openHTML";

if (!$page)
{
	$findPages = mysql_query("SELECT * FROM game_pages2 WHERE game = '$game'");
	while ($getPages = mysql_fetch_array($findPages))
	{
		$listPages .= "<option value=$getPages[id]>$getPages[page_title]";
	}
ECHO <<<END
<P><FORM ACTION="admin_delete_pages.pro.php?game=$game" METHOD=POST>
Delete which page?<br>
<select name=delete>
<option>-- Choose a page to delete!
$listPages
</select><Br>
<INPUT TYPE=submit NAME=Submit VALUE="Delete Page">
</FORM>
END;

}

print "$closeHTML";
?>
